home *** CD-ROM | disk | FTP | other *** search
/ Aminet 33 / Aminet 33 - October 1999.iso / Aminet / dev / c / GAPLib.lha / GAPLib / gaplib / Makefile.m68k < prev    next >
Encoding:
Makefile  |  1999-07-04  |  614 b   |  37 lines

  1. #
  2. # GAP-Lib (C)1998-1999 Peter Bengtsson
  3. #
  4. # libgap.a Makefile, generic m68k version.
  5.  
  6. .PHONY : all
  7. .PHONY : clean
  8.  
  9. CC = gcc
  10.  
  11. #Note: -m68020-40 generates FPU instructions. Use -m68030 if no fp hardware is
  12. #      present or specify -msoft-float.
  13.  
  14. # EGCS
  15. CODEGEN = -m68020-60
  16.  
  17.  
  18. # Old GCC
  19. # CODEGEN = -m68020-40
  20.  
  21. OPTIMIZATION = -O2 -fstrength-reduce -fexpensive-optimizations \
  22.            -fomit-frame-pointer -finline-functions
  23.  
  24. OPTIONS = -s -pedantic -Wall -I../include/
  25.  
  26. DEFINES = -DFPU
  27.  
  28. CFLAGS = $(CODEGEN) $(OPTIMIZATION) $(OPTIONS) $(DEFINES)
  29.  
  30. AR = ar
  31.  
  32. AROPTS = -rcsv
  33.  
  34. LIBRARY = ../lib/libgap.a
  35.  
  36. include Common.mk
  37.